<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <div id="app">
      <div>
        <template v-if="day==='5-1'"> <i>今天是：</i> <b>劳动节</b> </template>
        <template v-else-if="day==='10-1'">
          <i>今天是：</i> <b>国庆节</b>
        </template>
        <template v-else-if="day==='6-1'">
          <i>今天是：</i> <b>儿童节</b>
        </template>
        <template v-else> <i>今天是：</i> <b>...</b> </template>
      </div>
    </div>
    <script type="module">
      import { createApp, ref, reactive, computed } from "./vue.esm-browser.js";
      const app = createApp({
        setup() {
          const day = ref("5-1");
          return { day };
        },
      });
      app.mount("#app"); //挂载
    </script>
  </body>
</html>
